package com.sykj.cloud.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sykj.cloud.common.core.annotation.Excel;
import com.sykj.cloud.common.core.web.domain.BaseEntity;

/**
 * 系统定义 对象 sys_define
 *
 * @author mr.will
 * @date 2021-03-23
 */
public class SysDefine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 系统定义ID */
    private String guid;

    /** 名称 */
    @Excel(name = "名称")

    private String name;

    /** 简称 */
    @Excel(name = "简称")

    private String shortName;

    /** 描述 */
    @Excel(name = "描述")

    private String description;

    /** 系统类型 */
    @Excel(name = "系统类型")

    private Integer systemType;

    /** 是否有效 0=无效  1=有效 */
    @Excel(name = "是否有效 0=无效  1=有效")

    private Integer valid;

    /** 是否锁定 0=未锁定  1=锁定 */
    @Excel(name = "是否锁定 0=未锁定  1=锁定")

    private Integer lock;

    /** 是否已删除 */
    @Excel(name = "是否已删除")

    private Integer deleted;

    /** 删除人 */
    @Excel(name = "删除人")

    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid()
    {
        return guid;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setShortName(String shortName)
    {
        this.shortName = shortName;
    }

    public String getShortName()
    {
        return shortName;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setSystemType(Integer systemType)
    {
        this.systemType = systemType;
    }

    public Integer getSystemType()
    {
        return systemType;
    }
    public void setValid(Integer valid)
    {
        this.valid = valid;
    }

    public Integer getValid()
    {
        return valid;
    }
    public void setLock(Integer lock)
    {
        this.lock = lock;
    }

    public Integer getLock()
    {
        return lock;
    }
    public void setDeleted(Integer deleted)
    {
        this.deleted = deleted;
    }

    public Integer getDeleted()
    {
        return deleted;
    }
    public void setDeleteBy(String deleteBy)
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy()
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime)
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime()
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("name", getName())
            .append("shortName", getShortName())
            .append("description", getDescription())
            .append("systemType", getSystemType())
            .append("valid", getValid())
            .append("lock", getLock())
            .append("deleted", getDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
